import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible'
// vant-ui 引入文件
import '@/utils/vant-ui'
// vue-cropper 引入文件
import '@/utils/vue-cropper'
// 公共样式 (如果是组件的样式,要在组件后面引入)
import '@/style/index.scss'

import { getRelativeTime } from '@/utils/formatTime'

Vue.filter('relativeTime', getRelativeTime)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
